import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Product from '@/components/Product'
import Order from '@/components/Order'
import User from '@/components/User'
import Seckill from '@/components/Seckill'
import Recycle from '@/components/Recycle'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/Product',
      name: 'Product',
      component: Product
    },
    {
      path: '/Order',
      name: 'Order',
      component: Order
    },
    {
      path:'/User',
      name:'User',
      component:User
    },
    {
      path:'/Seckill',
      name:'Seckill',
      component:Seckill
    },
    {
      path:'/Recycle',
      name:'Recycle',
      component:Recycle
    }
  ]
})
